import { Component, OnInit, Input } from '@angular/core';

import { Hero } from './hero.model'

@Component({
  moduleId: module.id,
  selector: 'hero-detail',
  templateUrl: './hero-detail.component.html',
  styleUrls: ['./hero-detail.component.css']
})
export class HeroDetailComponent implements OnInit {

  @Input() currentHero: Hero;

  constructor(
  ) { }

  ngOnInit() {
  }

}
